package com.yqg.education;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.oas.annotations.EnableOpenApi;

@EnableOpenApi
@SpringBootApplication
@EnableScheduling
@EnableAsync
// @EnableWebMvc 访问静态文件不能加这个
public class EducationApplication {
    private static final Logger LOGGER = LoggerFactory.getLogger(EducationApplication.class);

    public static void main(String[] args) {
        {
            LOGGER.info("Program begin starting");
            SpringApplication.run(EducationApplication.class, args);
            LOGGER.info("Program started successfully!");

        }
    }

}
